i get the error "null Module do loop parameter was passed" and i have no idea why...
Module mdov
mdov = edit("/.................", false)
Object odov
string modName = ""
string doors = ""
for odov in mdov do
{
doors = odov."OLE_Type"
if doors == "DOORS" then
{
modName = odov."Object Heading"
Module m
m = read("/........"modName, false)
Object o
string oot
int chkCount = 0
int allCount = 0
for o in m do
{
oot = o."AccStateCurrentConsolidation_sv"
allCount ++
if oot == "CHK" then chkCount ++
}
int ergebnis
ergebnis = chkCount*100/allCount
int a = 15
int b = 45
int c = 70
int d = 100
print ergebnis
if (ergebnis < a)then odov."Module_Status_sv" = "TDO" else
if (ergebnis < b)then odov."Module_Status_sv" = "Rd25" else
if (ergebnis < c)then odov."Module_Status_sv" = "Rd50" else
if (ergebnis < d)then odov."Module_Status_sv" = "Rd75" else
if (ergebnis == d) then odov."Module_Status_sv" = "Partly Valid"
}
}
Reudaeaeae - Wed Sep 08 09:34:18 EDT 2010 |
Re: null Module do loop parameter was passed progress Executing /Test/auto_status.dxl 58 16 41 53 54 99 -R-E- DXL: <Line:23> null Module do loop parameter was passed -I- DXL: execution halted progress Done. |
Re: null Module do loop parameter was passed |
Re: null Module do loop parameter was passed Reudaeaeae - Wed Sep 08 09:37:14 EDT 2010 |